package com.yueshang.neuron.modular.system.dao.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yueshang.framework.base.SuperMapper;
import com.yueshang.neuron.modular.system.model.LoginLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 登录记录 Mapper 接口
 * </p>
 *
 * @author shililu
 * @since 2018/08/30
 */
public interface LoginLogMapper extends SuperMapper<LoginLog> {

    /**
     * 获取登录日志
     */
    List<Map<String, Object>> getLoginLogs(@Param("beginTime") String beginTime,
                                           @Param("endTime") String endTime, @Param("logName") String logName, @Param("orderByField") String orderByField, @Param("isAsc") boolean isAsc);

}